<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<meta name="viewport" content="width=1000, initial-scale=1.0, maximum-scale=1.0">
	    <!-- Loading Bootstrap -->
	    <link href="{{__PUBLIC__}}/Admin/Flat/dist/css/vendor/bootstrap.min.css" rel="stylesheet">
	    <!-- Loading Flat UI -->
	    <link href="{{__PUBLIC__}}/Admin/Flat/dist/css/flat-ui.css" rel="stylesheet">
	    <link href="{{__PUBLIC__}}/Admin/Flat/docs/assets/css/demo.css" rel="stylesheet">
	    <link rel="shortcut icon" href="{{__PUBLIC__}}/Admin/Flat/img/favicon.ico">
	</head>
	<body>
		<form action="" method="post">
		<div class="alert alert-success">添加属性</div>
		<div class="form-group">
			<label for="exampleInputEmail1">属性名称</label>
			<input id="exampleInputEmail1" class="form-control" type="text" placeholder="请输入属性名称" required="" name="taname" value="{{$typeattrData['taname']}}">
		</div>
		<div class="form-group">
			<label for="exampleInputEmail1">属性类别</label>
			<select name="taclass" class="form-control">
				<option value="0" {{if value="$typeattrData['taclass'] eq 0"}} selected="selected" {{endif}}>属性</option>
				<option value="1" {{if value="$typeattrData['taclass'] eq 1"}} selected="selected" {{endif}}>规格</option>
			</select>
		</div>
		<div class="form-group">
			<label for="exampleInputEmail1">属性值</label>
			<input id="exampleInputEmail1" class="form-control" type="text" placeholder="请输入分类标题" required="" name="tavalue" value="{{$typeattrData['tavalue']}}">
		</div>
		<input type="hidden" name="type_tid" value="{{$typeattrData['type_tid']}}" />
		<button class="btn btn-primary btn-block" type="submit"> 确定 </button>
		</form>
	</body>
</html>
